package com.example.administrator.szb.bean;
import java.util.List;

/**
 * Created by D N on 2017/11/13.
 * 问答管理
 */

public class WDGLBean {

    /**
     * result : 1
     * err_code : 0
     * err_msg :
     * data : {"per_page":"10","current_page":"1","putForward":[{"answer_count":0,"collect_count":0,"headimg":"","attention":0,"hot_count":0,"is_collect":0,"company":"市值宝","name":"183****22","is_me":0,"title":"12","content":"123","create_time":"2小时前","id":139,"quiz_id":96,"business":[{"title":"股票质押","font_color":"#ffce56","pivot":{"id":88,"refer_id":139,"business_id":109}},{"title":"过桥短融","font_color":"#fa7070","pivot":{"id":89,"refer_id":139,"business_id":128}}]},{"answer_count":0,"collect_count":0,"headimg":"","attention":0,"hot_count":0,"is_collect":0,"company":"市值宝","name":"183****22","is_me":0,"title":"gyhj","content":"vhjk","create_time":"1小时前","id":141,"quiz_id":96,"business":[{"title":"大宗减持","font_color":"#78b0ff","pivot":{"id":90,"refer_id":141,"business_id":118}}]},{"answer_count":0,"collect_count":0,"headimg":"","attention":0,"hot_count":0,"is_collect":0,"company":"市值宝","name":"183****22","is_me":0,"title":"gyhj","content":"vhjk","create_time":"1小时前","id":142,"quiz_id":96,"business":[{"title":"大宗减持","font_color":"#78b0ff","pivot":{"id":91,"refer_id":142,"business_id":118}}]}],"receive":[{"answer_count":0,"collect_count":0,"headimg":null,"attention":0,"hot_count":0,"is_collect":0,"company":null,"name":"176****80","is_me":0,"title":"tiwen","content":"test","create_time":"37分钟前","id":143,"quiz_id":94,"business":[{"title":"股票质押","font_color":"#ffce56","pivot":{"id":92,"refer_id":143,"business_id":109}}]}],"answer":[{"answer_count":0,"collect_count":0,"headimg":"","attention":0,"hot_count":0,"is_collect":0,"company":"市值宝","name":"183****22","is_me":0,"title":"YXG","content":"ydyxvjvj","create_time":"2天前","id":75,"quiz_id":96,"business":[]},{"answer_count":0,"collect_count":0,"headimg":"","attention":0,"hot_count":0,"is_collect":0,"company":"市值宝","name":"183****22","is_me":0,"title":"YXG","content":"ffff","create_time":"2小时前","id":136,"quiz_id":96,"business":[]}]}
     */

    private int result;
    private int err_code;
    private String err_msg;
    private DataBean data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * per_page : 10
         * current_page : 1
         * putForward : [{"answer_count":0,"collect_count":0,"headimg":"","attention":0,"hot_count":0,"is_collect":0,"company":"市值宝","name":"183****22","is_me":0,"title":"12","content":"123","create_time":"2小时前","id":139,"quiz_id":96,"business":[{"title":"股票质押","font_color":"#ffce56","pivot":{"id":88,"refer_id":139,"business_id":109}},{"title":"过桥短融","font_color":"#fa7070","pivot":{"id":89,"refer_id":139,"business_id":128}}]},{"answer_count":0,"collect_count":0,"headimg":"","attention":0,"hot_count":0,"is_collect":0,"company":"市值宝","name":"183****22","is_me":0,"title":"gyhj","content":"vhjk","create_time":"1小时前","id":141,"quiz_id":96,"business":[{"title":"大宗减持","font_color":"#78b0ff","pivot":{"id":90,"refer_id":141,"business_id":118}}]},{"answer_count":0,"collect_count":0,"headimg":"","attention":0,"hot_count":0,"is_collect":0,"company":"市值宝","name":"183****22","is_me":0,"title":"gyhj","content":"vhjk","create_time":"1小时前","id":142,"quiz_id":96,"business":[{"title":"大宗减持","font_color":"#78b0ff","pivot":{"id":91,"refer_id":142,"business_id":118}}]}]
         * receive : [{"answer_count":0,"collect_count":0,"headimg":null,"attention":0,"hot_count":0,"is_collect":0,"company":null,"name":"176****80","is_me":0,"title":"tiwen","content":"test","create_time":"37分钟前","id":143,"quiz_id":94,"business":[{"title":"股票质押","font_color":"#ffce56","pivot":{"id":92,"refer_id":143,"business_id":109}}]}]
         * answer : [{"answer_count":0,"collect_count":0,"headimg":"","attention":0,"hot_count":0,"is_collect":0,"company":"市值宝","name":"183****22","is_me":0,"title":"YXG","content":"ydyxvjvj","create_time":"2天前","id":75,"quiz_id":96,"business":[]},{"answer_count":0,"collect_count":0,"headimg":"","attention":0,"hot_count":0,"is_collect":0,"company":"市值宝","name":"183****22","is_me":0,"title":"YXG","content":"ffff","create_time":"2小时前","id":136,"quiz_id":96,"business":[]}]
         */

        private String per_page;
        private String current_page;
        private List<PutForwardBean> putForward;
        private List<ReceiveBean> receive;
        private List<AnswerBean> answer;

        public String getPer_page() {
            return per_page;
        }

        public void setPer_page(String per_page) {
            this.per_page = per_page;
        }

        public String getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public List<PutForwardBean> getPutForward() {
            return putForward;
        }

        public void setPutForward(List<PutForwardBean> putForward) {
            this.putForward = putForward;
        }

        public List<ReceiveBean> getReceive() {
            return receive;
        }

        public void setReceive(List<ReceiveBean> receive) {
            this.receive = receive;
        }

        public List<AnswerBean> getAnswer() {
            return answer;
        }

        public void setAnswer(List<AnswerBean> answer) {
            this.answer = answer;
        }

        public static class PutForwardBean {
            /**
             * answer_count : 0
             * collect_count : 0
             * headimg :
             * attention : 0
             * hot_count : 0
             * is_collect : 0
             * company : 市值宝
             * name : 183****22
             * is_me : 0
             * title : 12
             * content : 123
             * create_time : 2小时前
             * id : 139
             * quiz_id : 96
             * business : [{"title":"股票质押","font_color":"#ffce56","pivot":{"id":88,"refer_id":139,"business_id":109}},{"title":"过桥短融","font_color":"#fa7070","pivot":{"id":89,"refer_id":139,"business_id":128}}]
             */

            private int answer_count;
            private int collect_count;
            private String headimg;
            private int attention;
            private double hot_count;
            private int is_collect;
            private String company;
            private String name;
            private int is_me;
            private String title;
            private String content;
            private String create_time;
            private int id;
            private int quiz_id;
            private List<BusinessBean> business;

            private boolean isChoose;
            private int isShowCheckBod = 1;//默认不显示

            public boolean isChoose() {
                return isChoose;
            }

            public void setChoose(boolean choose) {
                isChoose = choose;
            }

            public int getIsShowCheckBod() {
                return isShowCheckBod;
            }

            public void setIsShowCheckBod(int isShowCheckBod) {
                this.isShowCheckBod = isShowCheckBod;
            }

            public int getAnswer_count() {
                return answer_count;
            }

            public void setAnswer_count(int answer_count) {
                this.answer_count = answer_count;
            }

            public int getCollect_count() {
                return collect_count;
            }

            public void setCollect_count(int collect_count) {
                this.collect_count = collect_count;
            }

            public String getHeadimg() {
                return headimg;
            }

            public void setHeadimg(String headimg) {
                this.headimg = headimg;
            }

            public int getAttention() {
                return attention;
            }

            public void setAttention(int attention) {
                this.attention = attention;
            }

            public double getHot_count() {
                return hot_count;
            }

            public void setHot_count(double hot_count) {
                this.hot_count = hot_count;
            }

            public int getIs_collect() {
                return is_collect;
            }

            public void setIs_collect(int is_collect) {
                this.is_collect = is_collect;
            }

            public String getCompany() {
                return company;
            }

            public void setCompany(String company) {
                this.company = company;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getIs_me() {
                return is_me;
            }

            public void setIs_me(int is_me) {
                this.is_me = is_me;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getQuiz_id() {
                return quiz_id;
            }

            public void setQuiz_id(int quiz_id) {
                this.quiz_id = quiz_id;
            }

            public List<BusinessBean> getBusiness() {
                return business;
            }

            public void setBusiness(List<BusinessBean> business) {
                this.business = business;
            }

            public static class BusinessBean {
                /**
                 * title : 股票质押
                 * font_color : #ffce56
                 * pivot : {"id":88,"refer_id":139,"business_id":109}
                 */

                private String title;
                private String font_color;
                private PivotBean pivot;

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getFont_color() {
                    return font_color;
                }

                public void setFont_color(String font_color) {
                    this.font_color = font_color;
                }

                public PivotBean getPivot() {
                    return pivot;
                }

                public void setPivot(PivotBean pivot) {
                    this.pivot = pivot;
                }

                public static class PivotBean {
                    /**
                     * id : 88
                     * refer_id : 139
                     * business_id : 109
                     */

                    private int id;
                    private int refer_id;
                    private int business_id;

                    public int getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public int getRefer_id() {
                        return refer_id;
                    }

                    public void setRefer_id(int refer_id) {
                        this.refer_id = refer_id;
                    }

                    public int getBusiness_id() {
                        return business_id;
                    }

                    public void setBusiness_id(int business_id) {
                        this.business_id = business_id;
                    }
                }
            }
        }

        public static class ReceiveBean {
            /**
             * answer_count : 0
             * collect_count : 0
             * headimg : null
             * attention : 0
             * hot_count : 0
             * is_collect : 0
             * company : null
             * name : 176****80
             * is_me : 0
             * title : tiwen
             * content : test
             * create_time : 37分钟前
             * id : 143
             * quiz_id : 94
             * business : [{"title":"股票质押","font_color":"#ffce56","pivot":{"id":92,"refer_id":143,"business_id":109}}]
             */

            private int answer_count;
            private int collect_count;
            private Object headimg;
            private int attention;
            private int hot_count;
            private int is_collect;
            private Object company;
            private String name;
            private int is_me;
            private String title;
            private String content;
            private String create_time;
            private int id;
            private int quiz_id;
            private List<BusinessBeanX> business;

            public int getAnswer_count() {
                return answer_count;
            }

            public void setAnswer_count(int answer_count) {
                this.answer_count = answer_count;
            }

            public int getCollect_count() {
                return collect_count;
            }

            public void setCollect_count(int collect_count) {
                this.collect_count = collect_count;
            }

            public Object getHeadimg() {
                return headimg;
            }

            public void setHeadimg(Object headimg) {
                this.headimg = headimg;
            }

            public int getAttention() {
                return attention;
            }

            public void setAttention(int attention) {
                this.attention = attention;
            }

            public int getHot_count() {
                return hot_count;
            }

            public void setHot_count(int hot_count) {
                this.hot_count = hot_count;
            }

            public int getIs_collect() {
                return is_collect;
            }

            public void setIs_collect(int is_collect) {
                this.is_collect = is_collect;
            }

            public Object getCompany() {
                return company;
            }

            public void setCompany(Object company) {
                this.company = company;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getIs_me() {
                return is_me;
            }

            public void setIs_me(int is_me) {
                this.is_me = is_me;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getQuiz_id() {
                return quiz_id;
            }

            public void setQuiz_id(int quiz_id) {
                this.quiz_id = quiz_id;
            }

            public List<BusinessBeanX> getBusiness() {
                return business;
            }

            public void setBusiness(List<BusinessBeanX> business) {
                this.business = business;
            }

            public static class BusinessBeanX {
                /**
                 * title : 股票质押
                 * font_color : #ffce56
                 * pivot : {"id":92,"refer_id":143,"business_id":109}
                 */

                private String title;
                private String font_color;
                private PivotBeanX pivot;

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getFont_color() {
                    return font_color;
                }

                public void setFont_color(String font_color) {
                    this.font_color = font_color;
                }

                public PivotBeanX getPivot() {
                    return pivot;
                }

                public void setPivot(PivotBeanX pivot) {
                    this.pivot = pivot;
                }

                public static class PivotBeanX {
                    /**
                     * id : 92
                     * refer_id : 143
                     * business_id : 109
                     */

                    private int id;
                    private int refer_id;
                    private int business_id;

                    public int getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public int getRefer_id() {
                        return refer_id;
                    }

                    public void setRefer_id(int refer_id) {
                        this.refer_id = refer_id;
                    }

                    public int getBusiness_id() {
                        return business_id;
                    }

                    public void setBusiness_id(int business_id) {
                        this.business_id = business_id;
                    }
                }
            }
        }

        public static class AnswerBean {
            /**
             * answer_count : 0
             * collect_count : 0
             * headimg :
             * attention : 0
             * hot_count : 0
             * is_collect : 0
             * company : 市值宝
             * name : 183****22
             * is_me : 0
             * title : YXG
             * content : ydyxvjvj
             * create_time : 2天前
             * id : 75
             * quiz_id : 96
             * business : []
             */

            private int answer_count;
            private int collect_count;
            private String headimg;
            private int attention;
            private int hot_count;
            private int is_collect;
            private String company;
            private String name;
            private int is_me;
            private String title;
            private String content;
            private String create_time;
            private int id;
            private int quiz_id;
            private List<?> business;

            public int getAnswer_count() {
                return answer_count;
            }

            public void setAnswer_count(int answer_count) {
                this.answer_count = answer_count;
            }

            public int getCollect_count() {
                return collect_count;
            }

            public void setCollect_count(int collect_count) {
                this.collect_count = collect_count;
            }

            public String getHeadimg() {
                return headimg;
            }

            public void setHeadimg(String headimg) {
                this.headimg = headimg;
            }

            public int getAttention() {
                return attention;
            }

            public void setAttention(int attention) {
                this.attention = attention;
            }

            public int getHot_count() {
                return hot_count;
            }

            public void setHot_count(int hot_count) {
                this.hot_count = hot_count;
            }

            public int getIs_collect() {
                return is_collect;
            }

            public void setIs_collect(int is_collect) {
                this.is_collect = is_collect;
            }

            public String getCompany() {
                return company;
            }

            public void setCompany(String company) {
                this.company = company;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getIs_me() {
                return is_me;
            }

            public void setIs_me(int is_me) {
                this.is_me = is_me;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getQuiz_id() {
                return quiz_id;
            }

            public void setQuiz_id(int quiz_id) {
                this.quiz_id = quiz_id;
            }

            public List<?> getBusiness() {
                return business;
            }

            public void setBusiness(List<?> business) {
                this.business = business;
            }
        }
    }
}
